<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>查询最新公告</title>
	</head>
	<body>
		
	</body>
	<script src="../js/jquery-2.1.4.min.js" type="text/javascript" charset="utf-8"></script>
	<script type="text/javascript">
		$.ajax({
			url:"http://192.168.95.13:8019/api/v1/notice/checkUpdate?deviceType=ios&appid=123",
			success:function(json){
				var status = json.status;
				if(status == "SUCCESS"){
					var content = json.content;
					var notice = content[0];
					if(notice != null){
						var downloadAddress = notice.url;
						alert(downloadAddress);
					}
					
				}
			}
		});
	</script>
</html>
